#else 语句和break for 语句一起使用中  如果遇到break ,else 就不执行了
for item in range(3):
    pwd=input('请输入密码')
    if pwd=='888':
        print('right')
        break
    else:
        print('wrong')
else:
        print('wrong three times')
